package com.ebupt.migu.music.api.entity;

import lombok.Getter;
import lombok.Setter;

import java.util.Map;

/**
 * Created by Intellij IDEA.
 * User:  liuyangyang@cd.ebupt.com
 * Date:  2019/10/24
 */
@Getter
@Setter
public class PushContentObject {
    /**
     * 内容
     */
    private String pushContent;
    /**
     * 创建时间
     */
    private Long pushCreateTime;
    /**
     * 点击跳转地址
     */
    private String pushLinkAddress;
    /**
     * 推送消息类型，见pushLinkType定义。若没有，请根据需求跟客户端协商
     */
    private Integer pushLinkType;
    /**
     * 标题
     */
    private String pushTitle;
    /**
     * 推送方式
     */
    private Integer pushType;
    /**
     * 显示图片链接
     */
    private String imgUrl;
    /**
     * 扩展字段
     */
    private Map extra;

    @Override
    public String toString() {
        return "content{" +
                "pushContent='" + pushContent + '\'' +
                ", pushCreateTime=" + pushCreateTime +
                ", pushLinkAddress='" + pushLinkAddress + '\'' +
                ", pushLinkType=" + pushLinkType +
                ", pushTitle='" + pushTitle + '\'' +
                ", pushType=" + pushType +
                ", imgUrl='" + imgUrl + '\'' +
                ", extra=" + extra +
                '}';
    }
}
